package cn.iocoder.yudao.module.erp.controller.admin.priwarehouseintegra.vo;

import cn.iocoder.yudao.module.erp.dal.dataobject.deppurchaseitem.DepPurchaseItemDO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.util.List;
import java.util.Map;

@Schema(description = "管理后台 - ERP 一级库整合单新增/修改 Request VO")
@Data
public class PriWarehouseIntegraSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "15322")
    private Long id;

    @Schema(description = "整合单编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "13644")
    @NotEmpty(message = "整合单编号不能为空")
    private String integrateId;

    @Schema(description = "备注", example = "随便")
    private String remark;

    @Schema(description = "审批意见")
    private String opinion;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "流程实例的编号", example = "31159")
    private String processInstanceId;

    @Schema(description = "科室采购申请项列表")
    private List<DepPurchaseItemDO> depPurchaseItems;

    @Schema(description = "发起人自选审批人 Map", example = "{taskKey1: [1, 2]}")
    private Map<String, List<Long>> startUserSelectAssignees;

    @Schema(description = "工作流id", example = "31159")
    private String taskId;
}